<?php if(!empty($adImage)) { ?>
    <a target="_blank" href="<?php echo $adImage['ad_url'] ?>"><img src="<?php echo $this->shopHelper()->baseAdImagePath($adImage['ad_image']); ?>" style="border: 0;<?php if (isset($this->width)) echo 'width:'.$this->width; ?>" /></a>
<?php } ?>